package com.hushui.mall.orderApi.feign;

import com.hushui.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@FeignClient("studyMall-commodity")
public interface ProductFeignService {

    /**
     * 根据skuId查询spu的信息
     * @param skuId
     * @return
     */
    @GetMapping(value = "commodity/spuinfo/info/{id}")
    R getSpuInfoBySkuId(@PathVariable("id") Long skuId);

}
